#pragma once
#include "ITeacher.h"
#include "IStudent.h"

class Teacher :public ITeacher
{
public:
	Teacher(int ID):TeacherID(ID){}
	 void AddToClass(IStudent* Student) override;
	 void DeleteFromClass(IStudent* Student)override;
	 void SetInfomation(std::string SetInfomation) override;

	 void Info() const override;
	  int GetID()const override;
	 bool FindStudent(IStudent* Student)const override;
private:
	std::list <IStudent*> Students;
	Message Infomation;
	int TeacherID=NULL;
};

